package com.li.entity;

/**
 * @Description：
 * @Author：LiDong
 * @Create：2020/10/17
 * @Version：1.0.0
 */
public class People {

    private int id;
    private Message message;

    public People(int id, Message message) {
        System.out.println("我是People的构造函数！"+"===="+id+"======"+message);
        this.id = id;
        this.message = message;
    }

    public Message message(){
        return message;
    }

    public void showMessage(){
        message.show();
    }


}
